const {
    db
} = require('../core/db.js');

const {
    Sequelize,
    Model
} = require('sequelize');

const fields = {
    index: Sequelize.INTEGER,
    art_id: Sequelize.INTEGER,
    type: Sequelize.INTEGER
}

class Flow extends Model {

};

Flow.init (fields, {
    sequelize: db,
    tableName: 'flow'
});

module.exports = {
    Flow
}
